package cn.memset.sample;

import com.sun.javafx.util.Logging;

import java.util.ArrayList;

/**
 * 打印 Java 8 中内置的 ClassLoader
 */
public class BuiltinClassLoaderTest {
    public static void main(String[] args) {
        System.out.println("类 BuiltinClassLoaderTest 的加载器是: "
                + BuiltinClassLoaderTest.class.getClassLoader());

        System.out.println("类 Logging 的加载器是: "
                + Logging.class.getClassLoader());

        System.out.println("类 ArrayList 的加载器是: "
                + ArrayList.class.getClassLoader());
    }
}


